package com.licheedev.someext

import android.app.Activity
import android.content.Context
import android.content.Intent


inline fun <reified T : Activity> Context.startActivity() {
    this.startActivity(Intent(this, T::class.java))
}

inline fun <reified T : Activity> Activity.startActivityForResult(requestCode: Int) {
    this.startActivityForResult(Intent(this, T::class.java), requestCode)
}
